/*
* Copyright 2025 NXP
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
* comply with and are bound by, such license terms.  If you do not agree to be bound by the applicable license
* terms, then you may not retain, install, activate or otherwise use the software.
*/

#ifndef EVENTS_INIT_H_
#define EVENTS_INIT_H_
#ifdef __cplusplus
extern "C" {
#endif

#include "gui_guider.h"

#define FLASH_BACKLIGHT_ADDR  0x08000000 + (1024 * 251)

void events_init(lv_ui *ui);

void events_init_main(lv_ui *ui);
void events_init_motion_1(lv_ui *ui);
void events_init_settings_1(lv_ui *ui);
void events_init_massage_1(lv_ui *ui);

// 屏幕栈操作函数
void push_screen(lv_obj_t *screen);
lv_obj_t* pop_screen();
void handle_physical_back_button(void);

#ifdef __cplusplus
}
#endif
#endif /* EVENT_CB_H_ */
